package com.ymatou.iapi.godmch.parameter;
import java.math.BigDecimal;
import java.util.List;

import com.google.common.collect.Lists;
import com.ymt.base.BaseBean;
/**
*设置代理价全局加价规则Bean
*FreeMaker Template自动生成代码
*/
public class setAgentMarkupConfigBean extends BaseBean{
 
	/**商户id*/
	private Integer mchId;
  	/**
	 * @see com.ymatou.iapi.godmch.parameter.setAgentMarkupConfigBean#mchId
	 */
	public Integer getMchId(){
 
		return mchId;
 
	}
 	/**
	 * @see com.ymatou.iapi.godmch.parameter.setAgentMarkupConfigBean#mchId
	 */
	public void setMchId(Integer mchId){
 
		this.mchId = mchId;
 
	}
	/**代理类型加价百分比列表*/
	private List<PercentageItem> percentageList;
  	/**
	 * @see com.ymatou.iapi.godmch.parameter.setAgentMarkupConfigBean#percentageList
	 */
	public List<PercentageItem> getPercentageList(){
 
		return percentageList;
 
	}
 	/**
	 * @see com.ymatou.iapi.godmch.parameter.setAgentMarkupConfigBean#percentageList
	 */
	public void setPercentageList(List<PercentageItem> percentageList){
 
		this.percentageList = percentageList;
 
	}
	/**加价后小数点类型 1：精确到个位数 2：保留小数点后1位 3：保留小数点后2位 4：精确到十位数*/
	private Integer decimalType;
  	/**
	 * @see com.ymatou.iapi.godmch.parameter.setAgentMarkupConfigBean#decimalType
	 */
	public Integer getDecimalType(){
 
		return decimalType;
 
	}
 	/**
	 * @see com.ymatou.iapi.godmch.parameter.setAgentMarkupConfigBean#decimalType
	 */
	public void setDecimalType(Integer decimalType){
 
		this.decimalType = decimalType;
 
	}
	/**是否覆盖已添加的商品价格*/
	private boolean refreshProduct;
  	/**
	 * @see com.ymatou.iapi.godmch.parameter.setAgentMarkupConfigBean#refreshProduct
	 */
	public boolean getRefreshProduct(){
 
		return refreshProduct;
 
	}
 	/**
	 * @see com.ymatou.iapi.godmch.parameter.setAgentMarkupConfigBean#refreshProduct
	 */
	public void setRefreshProduct(boolean refreshProduct){
 
		this.refreshProduct = refreshProduct;
 
	}
}
